package com.ydcycloud.base.enums;


public enum ExamEnums {
// 1表示用户，2表示试卷，3表示系统通知，4表示报名,5表示手机端后台管理员
	ACCOUNT_OR_PASSWORD_ERROR("用户名或者密码错误",100),
	ACCOUNT_OR_PASSWORD_NULL("用户名或者密码不能为空",101),
	ACCOUNT_DISABLED("该账号已被禁用",102),
	ACCOUNT_DELETE("该账号已被删除",103),
	PASSWORD_DIFFERENT("两次输入密码不一样",104),
	ANEW_LOGIN("请重新登录",105),
	
	NOT_EXAM_TEMPLATD("后台暂未创建考试模板",200),
	NOT_SUBJECT("暂未选择科目",201),
	HAVE_NOT_SUBMIT_EXAM("有未提交的试卷，不可以创建",202),
	EXCEED_VAILD_TIME("超出科目有效时间",203),
	EXCEED_VAILD_COUNT("超出科目有效次数",204),
	RADIO_DEFICIENCY("单选题不够",205),
	CHECK_DEFICIENCY("多选题不够",206),
	JUDEG_DEFICIENCY("判断题不够",207),
	NOT_QUESTION("暂无题目",208),
	QUESTION_DELETE("题目已被删除",209),
	UNKNOWN("请选择科目",210),
	
	
	
	IS_NOT_WECHAT("请在微信浏览器打开",400),
	SUBJECT_IS_NOT_FOUND("科目不存在或者暂时不开放报名",401),
	IDCARD_IS_ERROR("身份证号码格式有误",402),
	PHONE_IS_ERROR("手机号码格式错误",403),
	ALREADY_SIGNUP("您已报名该科目",404),
	PAY_FAIL("支付失败",405),
	PRICE_ERROR("科目价钱不合法",406),
	MORE_THAN_SIGN("超过该科目可报名的总人数",407),
	NOT_SESSION_OPENID("请刷新页面再操作",408),
	
	ACCOUNT_OR_PASSWORD_ERROR_ADMIN("用户名或者密码错误",500),
	ACCOUNT_DISABLED_ADMIN("该账号已被禁用",501),
	ANEW_LOGIN_ADMIN("请重新登录",502),
	ACCOUNT_OR_PASSWORD_NULL_ADMIN("用户名或者密码不能为空",503),
	
	
	PARAMETER_ERROR("参数错误",300),
	SUCCESS("成功",301),
	SYSTEM_ERROR("系统错误",302),
	NOT_AVAILABLE_DATA("暂无数据",304),
	PARAMETREERROR("请填写完信息",303);
	private String label;
	private int value;

	private ExamEnums(String label, int value) {

		this.label = label;
		this.value = value;
	}

	public String getLabel() {
		return this.label;
	}

	public Integer getValue() {
		return this.value;
	}
}
